package com.dkm.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

import com.dkm.websocket.MyWebSocket;

/**
 * 定义任务类
 * @author 狄凯明
 *
 */
public class TraceWarnJob implements Job {

	//注入websocket
	@Autowired
	private MyWebSocket myWebSocket;
	
	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		
		System.out.println("执行TraceWarnJob。。。");
	}

}
